package com.virus.mall.service;

import com.virus.mall.model.User;
import com.virus.mall.model.bo.UpdateUserDataBo;
import com.virus.mall.model.bo.UserLoginBo;
import com.virus.mall.model.bo.UserSignUpBo;
import com.virus.mall.model.UserUpdatePwd;
import com.virus.mall.model.vo.UserSignUpVo;

import java.util.List;

/**
 * @Classname UserService
 * @Description NULL
 * @Date 2021/4/15 23:37
 * @Created by virus
 */
public interface UserService {

    List<User> allUser();

    boolean deleteUser(String id);

    List<User> searchUser(String word);

    UserSignUpVo signup(UserSignUpBo userSignUpBo);

    Integer login(UserLoginBo userLoginBo);

    User data(String token);

    boolean updatePwd(UserUpdatePwd userUpdatePwd);

    boolean updateUserData(UpdateUserDataBo updateUserDataBo);
}
